using System;
using System.Web.UI;

namespace WebBookRecevie
{
    public class Utility
    {
        public Utility()
        {

        }


        internal static void Message(Page Page, string p)
        {
            Page.ClientScript.RegisterStartupScript(Page.GetType(), String.Format("alert('{0}')", p), "", true);

        }

        internal static void Message(UpdatePanel UpdatePanel1, string p)
        {

           UpdatePanel1.Page.ClientScript.RegisterStartupScript(UpdatePanel1.GetType(), String.Format("alert('{0}')", p), "", true);
        }
    }
}
